package cn.example.zjgsu.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;

public class Planitem implements Serializable {
    @JsonIgnore
    private Integer id;

    private String foodname;

    private String foodurl;

    private String shopname;

    private String shopscore;

    private String sceneryname;

    private String sceneryurl;

    @JsonIgnore
    private Integer planid;

    private Integer kind;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFoodname() {
        return foodname;
    }

    public void setFoodname(String foodname) {
        this.foodname = foodname == null ? null : foodname.trim();
    }

    public String getFoodurl() {
        return foodurl;
    }

    public void setFoodurl(String foodurl) {
        this.foodurl = foodurl == null ? null : foodurl.trim();
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname == null ? null : shopname.trim();
    }

    public String getShopscore() {
        return shopscore;
    }

    public void setShopscore(String shopscore) {
        this.shopscore = shopscore == null ? null : shopscore.trim();
    }

    public String getSceneryname() {
        return sceneryname;
    }

    public void setSceneryname(String sceneryname) {
        this.sceneryname = sceneryname == null ? null : sceneryname.trim();
    }

    public String getSceneryurl() {
        return sceneryurl;
    }

    public void setSceneryurl(String sceneryurl) {
        this.sceneryurl = sceneryurl == null ? null : sceneryurl.trim();
    }

    public Integer getPlanid() {
        return planid;
    }

    public void setPlanid(Integer planid) {
        this.planid = planid;
    }

    public Integer getKind() {
        return kind;
    }

    public void setKind(Integer kind) {
        this.kind = kind;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", foodname=").append(foodname);
        sb.append(", foodurl=").append(foodurl);
        sb.append(", shopname=").append(shopname);
        sb.append(", shopscore=").append(shopscore);
        sb.append(", sceneryname=").append(sceneryname);
        sb.append(", sceneryurl=").append(sceneryurl);
        sb.append(", planid=").append(planid);
        sb.append(", kind=").append(kind);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}